import axios from '../utils/http'
//传感器列表
export const sensorList = (data)=>{
    return axios.get('/sensor/list',{params:data})
}
//传感器添加
export const sensorsAdd = (data)=>{
    return axios.post('/sensor/add',data)
}
//传感器修改
export const sensorUpdate = (data)=>{
    return axios.post('/sensor/update',data)
}
//传感器删除
export const sensorDelete = (data)=>{
    return axios.post('/sensor/delete',data)
}